package com.jvm123.api.api.service;

import com.jvm123.api.api.entity.Post;
import com.jvm123.meilisearch.service.MeilisearchRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * @author yawn http://jvm123.com
 * 2019/12/1 10:17
 */
@Service
public class PostService extends MeilisearchRepository<Post> {

    private final Logger logger = LoggerFactory.getLogger(PostService.class);

    @PostConstruct
    public void init() {
        System.out.println("init");
    }
}
